LaunchTCPGateway    tcpgateway1  	/IP:local  	/Port:52000

StartSimulationEngine  "SimState/basicsim.xml"

TcpBindMessage  
	/TcpGateway:tcpgateway1

FlushScript  

call proc1


Procedure  proc1

	while(true)
	{	
		Message    "Hello!"
		print "Hello"

		Wait    1000
	}

End